/*header部分*/

.header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-bottom: 1px rgb(99, 219, 169);
}

.logo {
  padding: 1rem 1.5rem;
  font-size: 30px;
  color: rgb(76, 196, 146);
}


.input {
  border-radius: 50px !important;

  &:focus {
    border-color: rgb(76, 196, 146) !important;
    border-right-width: 1px !important;
    box-shadow: 0 0 0 2px rgb(24 144 255 / 20%);
  }
}

.icon {
  font-size: 21px !important;
  &:hover {
    color: rgb(76, 196, 146);
    cursor: pointer;
  }
}
.menu {
  font-size: 16px;
  border-bottom: white !important;
}
.user {
  display: flex;
  align-items: center;
}

.right {
  padding: 1rem 1.5rem;
  display: flex;
}

.login {
  border: 1px solid rgb(76, 196, 146) !important;
  border-radius: 50px !important;
  padding: 7px 14px;
  &:hover {
    color: rgb(76, 196, 146) !important;
  }
}

.none {
  display: none !important;
}
/*main部分*/

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
}
.nav {
  padding: 20px 50px;
  background-color: white;
}

.articles {
  background-color: white;
}
.post {
  float: right;
  border-radius: 6px !important;
  background-color: rgb(76, 196, 146) !important;
  color: white !important;
  &:hover {
    background-color: rgb(99, 219, 169) !important;
    border-color: rgb(99, 219, 169) !important;
    color: white !important;
  }
}

.back {
  background-color: #f7f7f7;
}

.articleItem {
  display: flex;
  flex-direction: column;
  padding: 20px 50px;
}
.title {
  font-size: 30px;
}
.content {
  font-size: 15px;
}
.hot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.icon {
  font-size: 16px;
  padding-right: 3px;
}
.num {
  padding-right: 30px;
  font-size: 10px;
}
.author {
  display: flex;
  align-items: center;
}
.avatar {
  border-radius: 30px;
  width: 30px;
}

.text {
  font-size: 16px;
  margin-bottom: 10px;
}
.username {
  padding-right: 15px;
  font-size: 18px;
  font-weight: 500;
}

/*header*/
/*header部分*/

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px rgb(99, 219, 169);
    background: #f9ffd4;
    box-shadow: 0px 3px 10px #d6d6d6
  }
  
  .logo {
    padding: 10px 40px;
    font-size: 30px;
    color: rgb(76, 196, 146);
    cursor: pointer;
  }
  
  .search {
    flex: 1;
    margin-left: 130px;
    max-width: 1200px;
  }
  
  .input {
    border-radius: 50px !important;
  
    &:focus {
      border-color: rgb(76, 196, 146) !important;
      border-right-width: 1px !important;
      box-shadow: 0 0 0 2px rgb(24 144 255 / 20%);
    }
  }
  
  .icon {
    font-size: 21px !important;
    margin-left: 30px;
    &:hover {
      color: rgb(76, 196, 146);
      cursor: pointer;
    }
  }
  .menu {
    font-size: 16px;
    border-bottom: white !important;
    background: #f9ffd4 !important;
  }
  .user {
    display: flex;
    align-items: center;
  }
  
  .right {
    padding: 1rem 1.5rem;
    display: flex;
  }
  
  .login {
    border: 1px solid rgb(76, 196, 146) !important;
    border-radius: 50px !important;
    &:hover {
      color: rgb(76, 196, 146) !important;
    }
  }
  
  .none {
    display: none !important;
  }
  .username {
    padding-right: 15px;
    font-size: 18px;
    font-weight: 500;
  }
  